# $Id: PKGBUILD 65120 2012-02-20 04:53:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tino Reichardt <milky-archlinux@mcmilk.de>

pkgname=dietlibc
pkgver=0.32
pkgrel=3
pkgdesc="a libc optimized for small size"
arch=('i686' 'x86_64')
url="http://www.fefe.de/dietlibc/"
license=("GPL")
#source=(http://www.kernel.org/pub/linux/libs/dietlibc/$pkgname-$pkgver.tar.bz2)
source=(http://arch.p5n.pp.ru/~sergej/dl/2011/$pkgname-$pkgver.tar.bz2)
md5sums=('0098761c17924c15e21d25acdda4a8b5')

build() {
  cd $srcdir/$pkgname-$pkgver
  make -j1 all dyn
  mkdir -p $pkgdir/etc
  make DESTDIR=$pkgdir install
}
